import {createRouter, createWebHashHistory} from 'vue-router';
import Home from '~@/views/Home/index.vue';

const router=createRouter({
    history:createWebHashHistory(),
    routes:[{
        name:'Home',
        path:'/',
        component:Home,
        meta:{
            title:'首页'
        }
    }],
    scrollBehavior:()=>({left:0 ,top : 0}),
})

export default router;